#include "colors.inc" #include "golds.inc" #include "metals.inc" #include "woods.inc" #include "transforms.inc" #include "shapes.inc" #include "math.inc" #include "glass.inc" #include "stones.inc" #include "textures.inc" #declare number = 0; #while (number < 10) sphere { <-2+number/2,0,-2>, .4 pigment {color rgb } } #declare number = number+1; // increment our counter #end #declare aangle = 0; #while (aangle < 360) sphere { <0.0.0>, .25 pigment {color Orange } #declare x_shift = sin(aangle*3.1415/180); #declare y_shift = cos(aangle*3.1415/180); #declare z_shift = cos(aangle*3.1415/180); translate //translate } #declare aangle = aangle+10; // increment our counter #end // the rest of this is from previous assignments light_source { <0, 0, 0> color rgb <1,1,1> } light_source { <0,2,-5> color rgb <1,1,1> } light_source { <1,4,0> color rgb <1,1,1> } light_source { <-1,4,2> color rgb <1,1,1> } camera { location <1.0, 3.0, -5.0> look_at <0.0, 0.0, 0.0> } cylinder{<10, 0, 0>, <-10, 0, 0>, 0.1 pigment {color Red} } cylinder{<0, 10, 0>, <0, -10, 0>, 0.1 pigment {color Blue} } cylinder{<0, 0,10>, <0, 0, -10>, 0.1 pigment {color White} } plane{ y, -1 pigment{ Blue }}